package org.ISCS.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.ISCS.entity.Dockerimage;
import org.ISCS.service.DockerimageService;
import org.ISCS.mapper.DockerimageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author mj
* @description 针对表【dockerimage】的数据库操作Service实现
* @createDate 2023-05-24 14:56:57
*/
@Service
public class DockerimageServiceImpl extends ServiceImpl<DockerimageMapper, Dockerimage>
    implements DockerimageService{


    @Autowired
    DockerimageMapper dockerimageMapper;
    @Override
    public int insertDockerImage(Dockerimage dockerimage) {
        int id = dockerimageMapper.insert(dockerimage);
        return id;
    }

    @Override
    public int updateDockerImage(Dockerimage dockerimage) {
        int id = dockerimageMapper.updateById(dockerimage);
        return id;
    }
}




